//package com.parking.mgr.useraccount.controller;
//
//import com.parking.mgr.common.annotion.BusinessLog;
//import com.parking.mgr.common.annotion.LoginAuth;
//import com.parking.mgr.common.annotion.PermissionUrl;
//import com.parking.mgr.common.enums.LogAnnotionOpTypeEnum;
//import com.parking.mgr.common.pojo.response.Result;
//import com.parking.mgr.useraccount.model.param.UserAccountParam;
//import com.parking.mgr.useraccount.service.UserAccountService;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.validation.annotation.Validated;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.annotation.Resource;
//
///**
// * @ClassName UserAccountController
// * @Description 用户账号控制器
// * @author: zhijianpu
// * @Date: 2023/6/15
// */
//@Api(value = "用户账号", tags = {"用户账号"})
//@RequestMapping("/api/user/account")
//@RestController
//public class UserAccountController {
//
//    @Resource
//    private UserAccountService userAccountService;
//
//    @PostMapping("/add")
//    @ApiOperation(value = "增加/编辑用户账号", notes = "增加/编辑用户账号", httpMethod = "POST")
//    @BusinessLog(title = "增加/编辑用户账号", opType = LogAnnotionOpTypeEnum.ADD)
//    @LoginAuth
//    @PermissionUrl
//    public Result<?> add(@RequestBody @Validated(UserAccountParam.add.class) UserAccountParam userAccountParam) {
//        userAccountService.saveOrUpdateUserAccount(userAccountParam);
//        return Result.success();
//    }
//
//}
